package com.google.project.client.Service;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.project.shared.DailyReportDTO;
import com.google.project.shared.DailyReportDetailDTO;


public interface DailyReportServiceAsync {

	void addDailyReport(DailyReportDTO dailyReport, String projectId,
			List<DailyReportDetailDTO> listReportDetail,
			AsyncCallback<DailyReportDTO> callback);

	void getDailyReportByProjectId(String ProjectId,
			AsyncCallback<List<DailyReportDTO>> callback);

	void getDailyReportByPM(String userId,int status,
			AsyncCallback<List<DailyReportDTO>> callback);

	void getAllDailyReport(AsyncCallback<List<DailyReportDTO>> callback);

	void updateStatusDailyReport(String id,int status, AsyncCallback<Void> callback);

	void checkDateReport(List<DailyReportDetailDTO> listReport,
			Long dateReport, AsyncCallback<Boolean> callback);
	
}
